]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Set time zero when animations are disabled
authorAlessandro Bono <alessandro.bono369@gmail.com>
Mon, 24 Oct 2022 07:37:27 +0000 (09:37 +0200)
committerAlessandro Bono <alessandro.bono369@gmail.com>
Fri, 4 Nov 2022 13:14:34 +0000 (14:14 +0100)
commit7bd98f3f5fb7e0d1220646b8a4ee7073534a8e8f
treed0c553d5c63f240e35fb6c9108ed7846a6b00b47
parent8b00255cc31814b09a35c9be38228d873676233e
environment: Set time zero when animations are disabled

In commit ee09c5c85312f571e14abe69bb6674a361c16d65 we chose to pick
the minimum value in order to preserve 0 instead of replacing it with
1. While returning 0 unconditionally when animations are disabled
seems the more logic thing to do, we were unsure about possible side
effects. Do the change now. Since we are early in the development cycle
we should be able to deal with side effects (if any) on time for the
next release.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2528>
js/ui/environment.js